package com.clinic.entity.gui;

import org.apache.commons.lang.StringUtils;

public class GuiSyptom {
	
	private long syptomId;
	private String name;
	
	public boolean isAvailable() {
		return syptomId > 0 && StringUtils.isNotBlank(name);
	}
	
	public long getSyptomId() {
		return syptomId;
	}
	
	public void setSyptomId(long syptomId) {
		this.syptomId = syptomId;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
